#ifndef MYFLASH_H
#define MYFLASH_H


#define FLASH_START_ADDR 0x0800EFE0 // Flash起始地址

#include "stm32f1xx_hal.h"
#include "stdbool.h"

bool myFlash_write(uint32_t addr, const uint32_t *data, uint16_t len);
uint32_t myFlash_read(uint32_t addr);



#endif //MYFLASH_H
